﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200072F RID: 1839
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetLoginChatInfoScRsp : IMessage<GetLoginChatInfoScRsp>, IMessage, IEquatable<GetLoginChatInfoScRsp>, IDeepCloneable<GetLoginChatInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001784 RID: 6020
		// (get) Token: 0x060052AC RID: 21164 RVA: 0x000DFF29 File Offset: 0x000DE129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetLoginChatInfoScRsp> Parser
		{
			get
			{
				return GetLoginChatInfoScRsp._parser;
			}
		}

		// Token: 0x17001785 RID: 6021
		// (get) Token: 0x060052AD RID: 21165 RVA: 0x000DFF30 File Offset: 0x000DE130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetLoginChatInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001786 RID: 6022
		// (get) Token: 0x060052AE RID: 21166 RVA: 0x000DFF42 File Offset: 0x000DE142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetLoginChatInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060052AF RID: 21167 RVA: 0x000DFF49 File Offset: 0x000DE149
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginChatInfoScRsp()
		{
		}

		// Token: 0x060052B0 RID: 21168 RVA: 0x000DFF5C File Offset: 0x000DE15C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginChatInfoScRsp(GetLoginChatInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.contactUidList_ = other.contactUidList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060052B1 RID: 21169 RVA: 0x000DFF92 File Offset: 0x000DE192
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLoginChatInfoScRsp Clone()
		{
			return new GetLoginChatInfoScRsp(this);
		}

		// Token: 0x17001787 RID: 6023
		// (get) Token: 0x060052B2 RID: 21170 RVA: 0x000DFF9A File Offset: 0x000DE19A
		// (set) Token: 0x060052B3 RID: 21171 RVA: 0x000DFFA2 File Offset: 0x000DE1A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001788 RID: 6024
		// (get) Token: 0x060052B4 RID: 21172 RVA: 0x000DFFAB File Offset: 0x000DE1AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ContactUidList
		{
			get
			{
				return this.contactUidList_;
			}
		}

		// Token: 0x060052B5 RID: 21173 RVA: 0x000DFFB3 File Offset: 0x000DE1B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetLoginChatInfoScRsp);
		}

		// Token: 0x060052B6 RID: 21174 RVA: 0x000DFFC4 File Offset: 0x000DE1C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetLoginChatInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.contactUidList_.Equals(other.contactUidList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060052B7 RID: 21175 RVA: 0x000E0014 File Offset: 0x000DE214
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.contactUidList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060052B8 RID: 21176 RVA: 0x000E0061 File Offset: 0x000DE261
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060052B9 RID: 21177 RVA: 0x000E0069 File Offset: 0x000DE269
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060052BA RID: 21178 RVA: 0x000E0074 File Offset: 0x000DE274
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			this.contactUidList_.WriteTo(ref output, GetLoginChatInfoScRsp._repeated_contactUidList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060052BB RID: 21179 RVA: 0x000E00C4 File Offset: 0x000DE2C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.contactUidList_.CalculateSize(GetLoginChatInfoScRsp._repeated_contactUidList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060052BC RID: 21180 RVA: 0x000E0118 File Offset: 0x000DE318
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetLoginChatInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.contactUidList_.Add(other.contactUidList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060052BD RID: 21181 RVA: 0x000E0165 File Offset: 0x000DE365
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060052BE RID: 21182 RVA: 0x000E0170 File Offset: 0x000DE370
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 96U && num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.contactUidList_.AddEntriesFrom(ref input, GetLoginChatInfoScRsp._repeated_contactUidList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002056 RID: 8278
		private static readonly MessageParser<GetLoginChatInfoScRsp> _parser = new MessageParser<GetLoginChatInfoScRsp>(() => new GetLoginChatInfoScRsp());

		// Token: 0x04002057 RID: 8279
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002058 RID: 8280
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04002059 RID: 8281
		private uint retcode_;

		// Token: 0x0400205A RID: 8282
		public const int ContactUidListFieldNumber = 12;

		// Token: 0x0400205B RID: 8283
		private static readonly FieldCodec<uint> _repeated_contactUidList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x0400205C RID: 8284
		private readonly RepeatedField<uint> contactUidList_ = new RepeatedField<uint>();
	}
}
